package com.zzhardy.controller.admin.permission.model;
import java.math.*;
import java.util.Date;
import java.sql.Timestamp;
import org.beetl.sql.core.annotatoin.Table;


/* 
* 角色功能表，配置成功后，当前角色具备当前功能的操作，如操作菜单项下的查看、删除、修改、添加
* gen by beetlsql 2021-04-09
*/
@Table(name="growth_blog.sys_role")
public class SysRole   {
	
	// alias
	public static final String ALIAS_id = "id";
	public static final String ALIAS_create_id = "create_id";
	public static final String ALIAS_state = "state";
	public static final String ALIAS_status = "status";
	public static final String ALIAS_sys_id = "sys_id";
	public static final String ALIAS_unit_id = "unit_id";
	public static final String ALIAS_update_id = "update_id";
	public static final String ALIAS_add = "add";
	public static final String ALIAS_edit = "edit";
	public static final String ALIAS_read = "read";
	public static final String ALIAS_remark = "remark";
	public static final String ALIAS_remove = "remove";
	public static final String ALIAS_role_level = "role_level";
	public static final String ALIAS_role_name = "role_name";
	public static final String ALIAS_create_time = "create_time";
	public static final String ALIAS_update_time = "update_time";
	
	private Integer id ;
	private Integer createId ;
	/*
	数据逻辑(1：可用，0：不可用，-1：删除)
	*/
	private Integer state ;
	/*
	1: 启用，2： 禁用
	*/
	private Integer status ;
	private Integer sysId ;
	/*
	组织ID
	*/
	private Integer unitId ;
	private Integer updateId ;
	/*
	1可添加， 0 不可添加
	*/
	private String add ;
	/*
	1可编辑， 0 不可编辑
	*/
	private String edit ;
	/*
	1可读， 0 不可读，默认可读，新建角色极为可读
	*/
	private String read ;
	/*
	描述
	*/
	private String remark ;
	/*
	1可删除， 0 不可删除
	*/
	private String remove ;
	/*
	角色级别
	*/
	private String roleLevel ;
	/*
	角色Id
	*/
	private String roleName ;
	private Date createTime ;
	private Date updateTime ;
	
	public SysRole() {
	}
	
	public Integer getId(){
		return  id;
	}
	public void setId(Integer id ){
		this.id = id;
	}
	
	public Integer getCreateId(){
		return  createId;
	}
	public void setCreateId(Integer createId ){
		this.createId = createId;
	}
	
	/**
	* 数据逻辑(1：可用，0：不可用，-1：删除)
	*@return 
	*/
	public Integer getState(){
		return  state;
	}
	/**
	* 数据逻辑(1：可用，0：不可用，-1：删除)
	*@param  state
	*/
	public void setState(Integer state ){
		this.state = state;
	}
	
	/**
	* 1: 启用，2： 禁用
	*@return 
	*/
	public Integer getStatus(){
		return  status;
	}
	/**
	* 1: 启用，2： 禁用
	*@param  status
	*/
	public void setStatus(Integer status ){
		this.status = status;
	}
	
	public Integer getSysId(){
		return  sysId;
	}
	public void setSysId(Integer sysId ){
		this.sysId = sysId;
	}
	
	/**
	* 组织ID
	*@return 
	*/
	public Integer getUnitId(){
		return  unitId;
	}
	/**
	* 组织ID
	*@param  unitId
	*/
	public void setUnitId(Integer unitId ){
		this.unitId = unitId;
	}
	
	public Integer getUpdateId(){
		return  updateId;
	}
	public void setUpdateId(Integer updateId ){
		this.updateId = updateId;
	}
	
	/**
	* 1可添加， 0 不可添加
	*@return 
	*/
	public String getAdd(){
		return  add;
	}
	/**
	* 1可添加， 0 不可添加
	*@param  add
	*/
	public void setAdd(String add ){
		this.add = add;
	}
	
	/**
	* 1可编辑， 0 不可编辑
	*@return 
	*/
	public String getEdit(){
		return  edit;
	}
	/**
	* 1可编辑， 0 不可编辑
	*@param  edit
	*/
	public void setEdit(String edit ){
		this.edit = edit;
	}
	
	/**
	* 1可读， 0 不可读，默认可读，新建角色极为可读
	*@return 
	*/
	public String getRead(){
		return  read;
	}
	/**
	* 1可读， 0 不可读，默认可读，新建角色极为可读
	*@param  read
	*/
	public void setRead(String read ){
		this.read = read;
	}
	
	/**
	* 描述
	*@return 
	*/
	public String getRemark(){
		return  remark;
	}
	/**
	* 描述
	*@param  remark
	*/
	public void setRemark(String remark ){
		this.remark = remark;
	}
	
	/**
	* 1可删除， 0 不可删除
	*@return 
	*/
	public String getRemove(){
		return  remove;
	}
	/**
	* 1可删除， 0 不可删除
	*@param  remove
	*/
	public void setRemove(String remove ){
		this.remove = remove;
	}
	
	/**
	* 角色级别
	*@return 
	*/
	public String getRoleLevel(){
		return  roleLevel;
	}
	/**
	* 角色级别
	*@param  roleLevel
	*/
	public void setRoleLevel(String roleLevel ){
		this.roleLevel = roleLevel;
	}
	
	/**
	* 角色Id
	*@return 
	*/
	public String getRoleName(){
		return  roleName;
	}
	/**
	* 角色Id
	*@param  roleName
	*/
	public void setRoleName(String roleName ){
		this.roleName = roleName;
	}
	
	public Date getCreateTime(){
		return  createTime;
	}
	public void setCreateTime(Date createTime ){
		this.createTime = createTime;
	}
	
	public Date getUpdateTime(){
		return  updateTime;
	}
	public void setUpdateTime(Date updateTime ){
		this.updateTime = updateTime;
	}
	

}
